import { BrowserModule }         from '@angular/platform-browser';
import { NgModule }              from '@angular/core';
import { CommonModule }          from '@angular/common';
import { RouterModule }          from '@angular/router';
import { FormsModule }           from '@angular/forms';
import { HttpModule }            from '@angular/http';
import { ModalModule }           from 'ng2-bootstrap';
import { TypeaheadModule }       from 'ng2-bootstrap';
import { TabsModule }            from 'ng2-bootstrap';
import { AppComponent }          from './app.component';
import { MainModule }            from './main/main.module';
import { SecondmainModule }      from './secondmain/secondmain.module';
import { routes }                from './app.routes';
import { FileUploadModule } from 'ng2-file-upload';



@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    CommonModule,
    FileUploadModule,
    BrowserModule,
    FormsModule,
    HttpModule,
    MainModule,
    SecondmainModule,
    RouterModule,
    RouterModule.forRoot(routes),
    ModalModule.forRoot(),
    TypeaheadModule.forRoot(),
    TabsModule.forRoot(),
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
